-
Notifications
You must be signed in to change notification settings - Fork 42
Enable jemalloc pool test with BA_GLOBAL_PROVIDER #902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@bratpiorka @lplewa I created this PR as a reproducer for the issue with jemalloc (See #903 ). It works only from a certain version of jemalloc, but looks like our CI needs to be fixed to use the "proper" version of jemalloc. |
01ce947 to
a262693
Compare
ldorau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a262693 to
1b99bc7
Compare
|
I guess this would require to add the wrapper for hwloc_topology_init() with attribute((disable_sanitizer_instrumentation)) or similar |
1b99bc7 to
48736b6
Compare
48736b6 to
0169514
Compare
|
@vinser52 I've tried to fix that, but compiler attributes disabling AddressSanitizer do not work (build still fails): |
|
BTW: on Ubuntu 24.04 it works well |
|
@vinser52 @bratpiorka Should this PR be still opened? |
So I just have no enough time to resolve the CI issues. if someone can take over I would be happy. But in general I think it makes sense to have such tests in CI |
afed5ba to
f54d8f5
Compare
f54d8f5 to
d4efb0e
Compare
|
@vinser52 @bratpiorka This test will not work because of an issue in jemalloc - jemalloc does not free the allocated memory extents on which the Jemalloc splits allocated memory extents - it calls |
Thanks for looking at this. I think that there would be no problem with adding support for split and merge for BA but the question is if we want to do this because of these tests |
@vinser52 @bratpiorka In my opinion this PR can be closed for now. |
ldorau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test will not work because of an issue in jemalloc - see: #902 (comment)
I think we should not waste time on adding split/merge support to BA allocator. did I get correctly that there is a bug in jemalloc? It should support scenario when split/merge fails but in fact, there is a memory leak, right? Should we create an issue in their GitHub? |
Right. I have submitted the issue in jemalloc: jemalloc/jemalloc#2815 @vinser52 Can we close this PR? |
Description
Enable Jemalloc pool test with
BA_GLOBAL_PROVIDERRef: #903
Checklist